package com.hdoit.ares.logical.official.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;
import com.hdoit.ares.logical.official.dao.IOnlineApplyforDao;
import com.hdoit.ares.logical.official.model.OnlineApplyfor;
import com.hdoit.ares.logical.official.service.IOnlineApplyforService;
import com.hdoit.ares.logical.viewmodel.official.OnlineApplyforSearch;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年01月05日 10:36:16
 * @comment
 */
@Component
public class OnlineApplyforServiceImpl extends SuperService<OnlineApplyfor> implements IOnlineApplyforService{
	private IOnlineApplyforDao onlineApplyforDao;
	
	public IOnlineApplyforDao getOnlineApplyforDao() {
		return onlineApplyforDao;
	}
	@Resource
	public void setOnlineApplyforDao(IOnlineApplyforDao onlineApplyforDao) {
		this.onlineApplyforDao = onlineApplyforDao;
	}

	@Override
	public List<OnlineApplyfor> queryList(OnlineApplyforSearch search, PagerModel pagerModel) {
		return onlineApplyforDao.queryList(search, pagerModel);
	}

	@Override
	public List<OnlineApplyfor> queryList(OnlineApplyforSearch search) {
		return onlineApplyforDao.queryList(search);
	}

	@Override
	public int queryCount(OnlineApplyforSearch search) {
		return onlineApplyforDao.queryCount(search);
	}

}